package com.tsing.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.wms.entity.RegionEntity;
import com.tsing.wms.vo.PageResultVO;
import com.tsing.wms.vo.req.IdReqVO;
import com.tsing.wms.vo.req.IdsReqVO;
import com.tsing.wms.vo.req.RegionPageReqVO;
import com.tsing.wms.vo.req.RegionReqVO;
import com.tsing.wms.vo.resp.RegionRespVO;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 供应商地区表 服务类
 * </p>
 *
 * @author TheTsing
 * @since 2022-04-13
 */
public interface IRegionService extends IService<RegionEntity> {

    void addRegion(RegionReqVO reqVO, HttpServletRequest request);

    void deleteRegion(IdsReqVO reqVO, HttpServletRequest request);

    RegionRespVO getRegion(IdReqVO reqVO);

    void updateRegion(RegionReqVO reqVO, HttpServletRequest request);

    PageResultVO<RegionRespVO> regionPage(RegionPageReqVO reqVO);

}
